home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
octa209s.zip
/
octave-2.09
/
libs
/
mkfifo
/
mkfifo.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-08-20
|
1KB
|
47 lines
/*
** ****************************************************************************
** The header file for mkfifo.
** (c) Klaus Gebhardt, 1997
** ****************************************************************************
*/
/*
** ****************************************************************************
** This was written for the OS/2 port of Octave, but it is not part of Octave!
** You can use the code UNMODIFIED. If you think changes are necessary,
** please send me a mail (gebhardt@crunch.ikp.physik.th-darmstadt.de).
** Thanks,
** Klaus Gebhardt
** ****************************************************************************
*/
#ifndef _MKFIFO_H_
#define _MKFIFO_H_
#if defined (__cplusplus)
extern "C" {
#endif
#ifndef _MKFIFO_NAMED_PIPE_
#define _MKFIFO_NAMED_PIPE_ "\\PIPE\\MKFIFO\\SERVER\\CON"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#define _MKFIFO_CREATE_NMP_ 0
#define _MKFIFO_REMOVE_NMP_ 1
#define _MKFIFO_LIST_NMPS_ 2
#define _MKFIFO_EXIT_SERVER_ 11
int mkfifo (const char *, mode_t);
int remove_mkfifo (const char *);
int list_named_pipes ();
int exit_server ();
#if defined (__cplusplus)
}
#endif
#endif